package com.edu.service;

import com.edu.entity.BookEntity;

import java.util.HashMap;
import java.util.List;

/**
 * com.edu.service
 * 2024/7/4 20:59
 *
 * @author Fancy
 * @version 1.0
 */
public interface BookService {
    List<HashMap<String, Object>> getAllBook();

    Integer deleteBookInfo(String userId);

    HashMap<String, Object> getBookInfoById(String bookId);

    Integer updateBookInfo(BookEntity book);

    Integer addBookInfo(BookEntity book);

    HashMap<String, Object> getBookInfoBySearch(String search);
}
